From 75d80d8d989c1e6c7eee222d2cad234264864376 Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Sat, 7 Mar 2015 04:53:12 -0800 Subject: [PATCH] Document the `harness` manifest option. Add documentation for the `harness` manifest option, introduced in a6589681351dc4a87b6fc268d47b7d608004b455. --- src/doc/manifest.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/doc/manifest.md b/src/doc/manifest.md index abb02f4d2..025a8e2cb 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -425,6 +425,11 @@ doc = true # If the target is meant to be a compiler plugin, this field must be set to true # for cargo to correctly compile it and make it available for all dependencies. plugin = false + +# If set to false, `cargo test` will omit the --test flag to rustc, which stops +# it from generating a test harness. This is useful when the binary being built +# manages the test runner itself. +harness = true ``` # Building Dynamic or Static Libraries -- 2.30.2